package com.stone.controller;

import com.stone.service.PackageScannerService;
import org.springframework.beans.factory.annotation.Autowired;

public enum Singleton {

    INSTANCE;

    @Autowired
    PackageScannerService packageScannerService;

    public void businessMethod() {
        System.err.println("I am a businessMethod.");
        packageScannerService.packageScan("com.stone.entity.po");
    }

}
